package com.xyht.sca_s.student_manage_system.modules.dormitory.entity.resp;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 宿舍类型管理表
 * </p>
 *
 * @author XYHT
 * @since 2024-01-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_dormitory_type")
@ApiModel(value="SmsDormitoryType对象", description="宿舍类型管理表")
public class SmsDormitoryTypeResp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "宿舍类型id")
    private String id;

    @ApiModelProperty(value = "类型名")
    private String typeName;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "床位数")
    private Integer bedNumber;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;





}
